#include "Log.h"
#include <cassert>
#include <fstream>

namespace Engine
{
	void Log(const std::string& l)
	{
		static std::ofstream log;
	
		if(!log.is_open())
		{
			log.open("log.txt", std::ios::trunc);
			assert(log.is_open());
		}
		log << l << std::endl;
	}
}